package com.ykt.vo;

/**
 * @author: long.hua
 * @date: 2016-02-17 15:33
 * @since 1.0
 */
public class OrderItemVo extends BaseVo{

    private Integer orderId; // 订单id
    private Integer goodsId;// 商品ID
    private String goodsName; // 商品名称
    private Integer goodsCount;// 商品销售数量
    private Double goodsPrice;// 商品销售单价
    private String goodsUnit;// 商品销售代为
    private Double goodsAmount;// 商品总价


    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public Integer getGoodsCount() {
        return goodsCount;
    }

    public void setGoodsCount(Integer goodsCount) {
        this.goodsCount = goodsCount;
    }

    public Double getGoodsPrice() {
        return goodsPrice;
    }

    public void setGoodsPrice(Double goodsPrice) {
        this.goodsPrice = goodsPrice;
    }

    public String getGoodsUnit() {
        return goodsUnit;
    }

    public void setGoodsUnit(String goodsUnit) {
        this.goodsUnit = goodsUnit;
    }

    public Double getGoodsAmount() {
        return goodsAmount;
    }

    public void setGoodsAmount(Double goodsAmount) {
        this.goodsAmount = goodsAmount;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("OrderItemVo{");
        sb.append(super.toString());
        sb.append("orderId=").append(orderId);
        sb.append(", goodsId=").append(goodsId);
        sb.append(", goodsName='").append(goodsName).append('\'');
        sb.append(", goodsCount=").append(goodsCount);
        sb.append(", goodsPrice=").append(goodsPrice);
        sb.append(", goodsUnit='").append(goodsUnit).append('\'');
        sb.append(", goodsAmount=").append(goodsAmount);
        sb.append('}');
        return sb.toString();
    }
}
